//
//  AppContext.m
//  SAILIN
//
//  Created by 崔国冠 on 2018/10/18.
//  Copyright © 2018年 赛麟. All rights reserved.
//

#import "AppContext.h"

static AppContext *appContext = nil;

@implementation AppContext

+(instancetype)getInstance
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        appContext = [[AppContext alloc]init];
    });
    
    return appContext;
}

- (NSString *)deviceId{
    if (!_deviceId) {
        return @"";
    }
    return _deviceId;
}
@end
